// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// import Router from 'vue-router'
// import HomeGoods from './components/goods/Goods'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})

// const app =Vue.extend(App)
// const routes = [
//   { path: '/goods', component: HomeGoods }
  // { path: '/ratings', component: Bar }
  // { path: '/seller', component: Bar }
// ]

// const vueRouter = new Router({
//   routes
// })

// const app = new Vue({
//   vueRouter
// }).$mount('#app')


